package com.happycat.console.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import com.happycat.console.commen.aspactj.lang.annotation.Excel;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;


/**
 * 礼物惊喜盒子对象 cat_gift_box
 * 
 * @author verne
 * @date 2020-07-18
 */
@Data
@ToString
@EqualsAndHashCode
@NoArgsConstructor
@Accessors(chain = true)
@TableName("cat_gift_box")
@ApiModel(value="礼物惊喜盒子对象", description="礼物惊喜盒子对象数据")
public class CatGiftBox implements Serializable {

private static final long serialVersionUID=1L;


    /** id */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /** 惊喜盒名称 */
    @Excel(name = "惊喜盒名称")
    @ApiModelProperty(value = "惊喜盒名称")
    private String boxName;

    /** 惊喜盒图标 */
    @Excel(name = "惊喜盒图标")
    @ApiModelProperty(value = "惊喜盒图标")
    private String boxImg;

    /** 猫粮值 */
    @Excel(name = "猫粮值")
    @ApiModelProperty(value = "猫粮值")
    private BigDecimal boxMoney;

    /** 礼物总数 */
    @Excel(name = "礼物总数")
    @ApiModelProperty(value = "礼物总数")
    private Integer amount;

    /** 备注 */
    @Excel(name = "备注")
    @ApiModelProperty(value = "备注")
    private String remarks;

    /** 创建时间 */
    @Excel(name = "创建时间" , width = 30, dateFormat = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    /** 创建人 */
    @ApiModelProperty(value = "创建时间")
    private String createBy;

    /** 状态 */
    @Excel(name = "状态")
    @ApiModelProperty(value = "状态：0不可用，1可用")
    private Integer status;
}
